﻿@model MvcAngular.ViewModels.BasicsViewModel
@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>The Basics</h2>

<div>
      <label>Name:</label>
      <input type="text" @Html.AjModel(m => m.YourName) placeholder="Enter a name here">
      <hr>
      <h1>Hello @Html.AjText(m => m.YourName)!</h1>
</div>

 <h2>Other samples</h2>
<a href="~/Views/Home/ToDo">ToDo</a>